<div class="underlying">
  <div class="table">
    <!-- 头部Table -->
    <nz-table #headerTable
      style="border-collapse: collapse; border-radius: 4px 4px 0px 0px;"
      [nzData]="listOfData" class="designTable" [nzShowPagination]='false'
      [nzScroll]="{ y: '700px' }">
      <thead class="tableHeard" style="text-align: center !important;">
        <tr style="text-align: center !important;">
          <th nzWidth="100px">備料狀態</th>
          <th nzWidth="200px">單據號</th>
          <th nzWidth="200px">單據/治具名稱</th>
          <th nzWidth="100px">已備項數</th>
          <th nzWidth="100px">缺料項數</th>
          <th nzWidth="100px">治具交期</th>
          <th nzWidth="200px">備註</th>
        </tr>
      </thead>
      <!-- 工联单Table -->
      <tbody class="tablecontent" style="border-left: 1px solid rgba(71,156,156,1) !important;">
        <!--  -->
        <tr id="first" *ngFor="let item of listOfData let key = index">
          <!-- 状态 -->
          <td style="color:#21CC97" *ngIf="item.status==='已備料'">{{item.status}}</td>
          <td style="color:#FACA00" *ngIf="item.status==='備料中'">{{item.status}}</td>
          <td style="color:#D23B5F" *ngIf="item.status==='缺料'">{{item.status}}</td>
          <!-- 单据号 -->
          <td style="text-align: left;text-indent: 50px;">{{item.unionorder}}</td>
          <!-- 單據/治具名稱 -->
          <td style="cursor:pointer;max-width: 200px;overflow: hidden; white-space: nowrap;text-overflow: ellipsis;text-align: left;" title={{item.name}}>{{item.name}}</td>
          <!-- 已備項數 -->
          <td>{{item.yibei}}</td>
          <!-- 缺料項數 -->
          <td>{{item.queliao}}</td>
          <!-- 治具交期 -->
          <td>{{item.delivery_date}}</td>
          <!-- 備註 -->
          <td style="cursor:pointer;max-width: 200px;overflow: hidden; white-space: nowrap;text-overflow: ellipsis;text-align: left;" title={{item.remark}}>{{item.remark}}</td>
        </tr>
      </tbody>
    </nz-table>
  </div>
</div>




